#!/bin/bash  
#RE:
#1, https://blog.csdn.net/herryfeng/article/details/80138376
#2, https://blog.csdn.net/qq_32621903/article/details/80275022
sudo apt-get install git -y
sudo apt-get install python-opencv -y
sudo apt-get install python-pip -y
sudo apt-get install python3-pip -y


cd ~
sudo nvpmodel -m 0  
sudo apt-get install -y libglew-dev libtiff5-dev zlib1g-dev libjpeg-dev libpng12-dev libjasper-dev libdc1394-22-dev libavcodec-dev libavformat-dev libavutil-dev libpostproc-dev libswscale-dev libeigen3-dev libtbb-dev cmake pkg-config libgtk2.0-dev libgtk-3-dev  
  


# Python 2
sudo apt-get install -y python-dev python-numpy python-py python-pytest -y  

# Python 3  
sudo apt-get install -y python3-dev python3-numpy python3-py python3-pytest -y  
# GStreamer support  
sudo apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev   

